<template>
	<view>
		<view class="dis" v-if="shows">
			<view class="wrap">
				<text>还未登录，请先去个人中心登录</text>
				<view class="btn" @click="center">确定</view>
			</view>
		</view>
	</view>
</template>

<script >
	export default{
		data(){
			return{
				shows:true
			}
		},
		methods:{
			center(){
				this.shows = false
			}
		}
		
	}
</script>

<style scoped>
	.dis{
		display: flex;
		justify-content: center;
	}
	.wrap{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		background-color: #fdfdfd;
		position: fixed;
		top: 40%;
		width: 75%;
		height: 300upx;
		margin: 0 auto;
		z-index: 997;
		border-radius: 20upx;
		box-shadow: 10rpx 10rpx 10rpx rgba(0,0,0,0.3);
	}
	.wrap text{
		margin: 50upx 0;
		font-weight: bold;
	}
	.wrap view{
		border: 1px solid #5555ff;
		padding: 20upx 50upx;
		border-radius: 15upx;
	}
</style>
